package com.jzr.medical.db1.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jzr.medical.db1.model.TPatient;
import com.jzr.medical.db1.vo.BedPatientVo;
import com.jzr.medical.db1.vo.PatientBaseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 病人表 Mapper 接口 abc
 * </p>
 *
 * @author henry
 * @since 2019-07-22
 */
public interface TPatientMapper extends BaseMapper<TPatient> {
    List<Integer> getIdList(@Param(Constants.WRAPPER) Wrapper wrapper);
    List<BedPatientVo> selectBedPatientVo(String deptCode);
    List<PatientBaseVo> getPatentBaseList(@Param("p") TPatient record);
}

